package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @Auther: xjw
 * @Date: 2019/3/29 17:45
 * @Description:
 */
@TableName(value = "s_pagewidgets_users")
public class PageWidgetsUser {

    @JSONField(name = "Id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long id;

    @JSONField(name = "UserId")
    @TableField(value = "UserId")
    private String userId;

    @JSONField(name = "WidgetId")
    @TableField(value = "WidgetId")
    private Long widgetId;

    @JSONField(name = "h")
    @TableField(value = "h")
    private Integer h;

    @JSONField(name = "w")
    @TableField(value = "w")
    private Integer w;

    @JSONField(name = "x")
    @TableField(value = "x")
    private Integer x;

    @JSONField(name = "y")
    @TableField(value = "y")
    private Integer y;

    @JSONField(name = "Options")
    @TableField(value = "Options")
    private String options;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getWidgetId() {
        return widgetId;
    }

    public void setWidgetId(Long widgetId) {
        this.widgetId = widgetId;
    }

    public Integer getH() {
        return h;
    }

    public void setH(Integer h) {
        this.h = h;
    }

    public Integer getW() {
        return w;
    }

    public void setW(Integer w) {
        this.w = w;
    }

    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }
}
